package com.novix.portal.framework.service;

import java.util.List;

import javax.servlet.ServletContext;

import com.novix.portal.framework.model.IPortalUser;

public interface IGenericService {
    public void setServletContext(ServletContext ctx);

    public List getWebOrganizations(IPortalUser pu);

    /**
     * @param user
     */
    public List getContactsByCaptive(IPortalUser user);
    
    public List searchWebOrganizations(IPortalUser user);

    /**
     * @param query
     * @param user
     * @return
     */
    public List searchWebOrganizationsByQuery(String query, IPortalUser user);

    /**
     * @param user
     * @return
     */
    public List getAllContactsByCaptivePicsOrNone(IPortalUser user);
}